'''
Created on 2012-3-26

@author: yhb
'''

class NoFit(Exception):
    '''
    classdocs
    '''
    def __init__(self,l,atleast):
        '''
        Constructor
        '''
        Exception.__init__(self)
        self.l=l
        self.atleast=atleast
        
try:
    
    s = input('输入：');
    
    if len(s) < 3:
        raise NoFit(len(s),3)
    
    print('正常的')
    
except NoFit:
    print('不符合长度')
    
except :
    print('其他错误')
        